package io.renren.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.renren.commons.tools.utils.DateUtils;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;
import java.util.Date;

/**
* 费用记录
*
* @author liuyujun 384880231@qq.com
* @since 3.0 2022-01-13
*/
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("work_cost_notepad")
public class CostNotepadEntity {
private static final long serialVersionUID = 1L;

			/**
			* ID
			*/
			@TableId
		private Long id;
			/**
			* 类目
			*/
		private Integer category;
			/**
			* 应付金额
			*/
		private Double payable;
			/**
			* 实付金额
			*/
		private Boolean actualPay;
			/**
			* 已开票
			*/
		private Boolean invoice;
			/**
			* 费用区间
			*/
		private String costSection;
			/**
			* 创建人
			*/
			@TableField(fill = FieldFill.INSERT)
		private String creator;
			/**
			* 创建时间
			*/
			@TableField(fill = FieldFill.INSERT)
			@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
		private Date createDate;
			/**
			* 逻辑删除
			*/
		private Boolean logicalDelete;
}